package com.hyh.fireworks.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 分类表
 * </p>
 *
 * @author summerday
 * @since 2020-11-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Category对象", description="分类表")
public class Category extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "分类信息")
    private String description;

    @ApiModelProperty(value = "分类名[页面显示]")
    private String name;

    @ApiModelProperty(value = "父级分类id")
    private Integer parentId;

    @ApiModelProperty(value = "别名[url标识]")
    private String slug;

    @ApiModelProperty(value = "缩略图")
    private String thumbnail;


}
